package com.test.group6.service.Ipml;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.test.group6.domain.EnterpriseInformation;
import com.test.group6.mapper.SearchEnterpriseMapper;
import com.test.group6.service.SearchEnterpriseService;
/**
 *@author guo_wei 
 *@version 1.0 
 */
@Service
public class SearchEnterpriseServiceImpl implements SearchEnterpriseService {
	@Autowired
	private SearchEnterpriseMapper searchEnterpriseMapper;
	/**
	 *@param enterpriseId 企业编号
	 *@param enterpriseName 企业名称
	 *@param cardType 证件类型
	 *@param cardId 证件号
	 *@return List<EnterpriseInformation> 满足条件的企业信息集合
	 */
	@Override
	public List<EnterpriseInformation> getSearchEnterprise(String enterpriseId, String enterpriseName, String cardType,
			String cardId) {
		// TODO Auto-generated method stub
		return searchEnterpriseMapper.getSearchEnterprise(enterpriseId, enterpriseName, cardType, cardId);
	}

}
